#include <stdio.h>
#include <stdlib.h>
#include <string.h>

typedef struct bittest {
	int read:2;
	int write:2;
	int hello:30;
} bittest_t;

int main(int argc, char *argv[])
{
	bittest_t bt;

	memset(&bt, 0, sizeof(bittest_t));
	printf("old value : read : %d, write : %d\n", bt.read, bt.write);
	bt.read = 3;
	bt.write =3;
	printf("new value : read : %d, write : %d\n", bt.read, bt.write);

	return 0;
}

